package com.sunyard.dal.bo.operator;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @author jiy.fang
 * @ClassName OperatorAuditQueryBO
 * @Description description
 * @date 2019/7/25 9:43
 */
@ApiModel
@Data
public class OperatorAuditQueryBO implements Serializable {

    private static final long serialVersionUID = 818839872483674130L;

    @ApiModelProperty(value = "用户ID")
    private String opId;

    @ApiModelProperty(value = "用户名")
    @Size(max = 20, message = "用户名不超过20位")
    private String opName;

    @ApiModelProperty(value = "真实姓名")
    @Size(max = 15, message = "真实姓名不超过15位")
    private String opRealname;

    @ApiModelProperty(value = "所属角色id  显示所选机构所有角色名称和通用角色")
    private String roleId;

    @ApiModelProperty(value = "所属角色名称  显示所选机构所有角色名称和通用角色名称")
    private String roleName;

    @ApiModelProperty(value = "审核状态 0 -未审核 1 -审核通过 2 -审核未通过")
    private Integer auditFlag;

    @ApiModelProperty(value = "审核类型 0 -添加用户 1 -删除用户 2 -修改用户 3 -重置密码 4 -登入解锁 5 -用户启用 6 -用户停用")
    private Integer auditType;

    @ApiModelProperty("所属机构")
    private String orgId;

    @ApiModelProperty("是否包含子机构：0-不包含，1-包含")
    private Integer includeSubOrg;

    @ApiModelProperty("机构集合")
    private List<String> orgIds;
}
